import Http from '@/http';

export function uploadApi(file:File) {
    const formData = new FormData()
    formData.append('pic', file)
    return Http.post('upload/pic', formData)
}